﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace CaptchaLearning.Infrastructure.Model
{
    /// <summary>
    /// Ma trận chuyển xác suất giữa các trạng thái ẩn
    /// </summary>
    /// 
    [DataContract(Name = "TransitionMatrix", Namespace = "CaptchaLearning.Infrastructure.Model")]
    public class TransitionMatrix
    {
        /// <summary>
        /// Gía trị xác suất
        /// </summary>
        [DataMember]
        public List<List<double>> Probability { get; set; }

        /// <summary>
        /// Số trạng thái ẩn
        /// </summary>
        [DataMember]
        public int StateCount { get; set; }

        public TransitionMatrix()
        {
            this.Probability = new List<List<double>>();
            this.StateCount = 0;
        }
    }
}
